<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>chenluTable</title>
		
	<script type="text/javascript" src="<%=basePath%>js/jquery126.js"></script>
	
	<script type="text/javascript">
		$(function(){
			$("#next").click(function(){
				$("#myForm").attr("action","chenlu.my");	
				$("#currPage").val($("#next").attr("page"));
				$("#myForm").submit();
			});
			
			$("#pre").click(function(){
				$("#myForm").attr("action","chenlu.my");	
				$("#currPage").val($("#pre").attr("page"));
				$("#myForm").submit();
			});
			$("#first").click(function(){
				$("#myForm").attr("action","chenlu.my");	
				$("#currPage").val($("#first").attr("page"));
				$("#myForm").submit();
			});
			
			$("#last").click(function(){
				$("#myForm").attr("action","chenlu.my");	
				$("#currPage").val($("#last").attr("page"));
				$("#myForm").submit();
			});
			
			$("#button").click(function(){
				$("#myForm").attr("action","chenlu.my");	
				$("#currPage").val($("#jump").attr("value"));
				$("#myForm").submit();
			});
			
			$(".delete").click(function(){
			   $("#id").val($(this).parent().find(".delete").attr("delete_id"));
				$("#myForm").attr("action","chenlu!delete.my");	
				$("#myForm").submit();
			});
			$(".thickbox").click(function(){
			$("#student_name").val($(this).parent().parent().parent().parent().find("#e_student_name").attr("value"));
			$("#person_name").val($(this).parent().parent().parent().parent().find("#e_person_name").attr("value"));
			$("#fb_id").val($(this).parent().parent().parent().parent().find("#e_id").attr("value"));
			$("#time").val($(this).parent().parent().parent().parent().find("#e_time").attr("value"));
			$("#content").val($(this).parent().parent().parent().parent().find("#e_content").attr("value"));
			});
			
			$("#button").click(function(){
				$("#myForm").attr("action","chenlu.my");	
				$("#currPage").val($("#jump").attr("value"));
				$("#myForm").submit();
			});
			$("#submit").click(function(){
				$("#editForm").attr("action","chenlu!edit.my");		
				$("#editForm").submit();
			});
		});
</script>
	<script type="text/javascript" src="<%=basePath%>js/thickbox.js"></script>
	<link rel="stylesheet" href="<%=basePath%>style/css/thickbox.css" type="text/css" media="screen" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
-->
</style>
	</head>

	<body>
	<form action="" method="get" id="myForm">
	<input name="currPage" type="hidden" id="currPage" value="${cl.page.currPage}" />
	<input name="id"  id="id" value="" />
	
	</form>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td height="30" background="<%=basePath %>admin/tab/images/tab_05.gif">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="12" height="30">
								<img src="<%=basePath %>admin/tab/images/tab_03.gif" width="12" height="30" />
							</td>
							<td>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="46%" valign="middle">
											<table width="100%" border="0" cellspacing="0"
												cellpadding="0">
												<tr>
													<td width="5%">
														<div align="center">
															<img src="<%=basePath %>admin/tab/images/tb.gif" width="16" height="16" />
														</div>
													</td>
													<td width="95%" class="STYLE1">
														<span class="STYLE3">你当前的位置</span>：[陈璐]-[学员反馈信息]
													</td>
												</tr>
											</table>
										</td>
										<td width="54%">
											<table border="0" align="right" cellpadding="0"
												cellspacing="0">
												<tr>
													<td width="60">
														<table width="87%" border="0" cellpadding="0"
															cellspacing="0">
															<tr>
																<td class="STYLE1">
																	<div align="center">
																		<input type="checkbox" name="checkbox62"
																			value="checkbox" />
																	</div>
																</td>
																<td class="STYLE1">
																	<div align="center">
																		全选
																	</div>
																</td>
															</tr>
														</table>
													</td>
													<td width="60">
														<table width="90%" border="0" cellpadding="0"
															cellspacing="0">
															<tr>
																<td class="STYLE1">
																	<div align="center">
																		<img src="<%=basePath %>admin/tab/images/22.gif" width="14" height="14" />
																	</div>
																</td>
																<td class="STYLE1">
																	<div align="center">
																		新增
																	</div>
																</td>
															</tr>
														</table>
													</td>
													<td width="60">
														<table width="90%" border="0" cellpadding="0"
															cellspacing="0">
															<tr>
																<td class="STYLE1">
																	<div align="center">
																		<img src="<%=basePath %>admin/tab/images/33.gif" width="14" height="14" />
																	</div>
																</td>
																<td class="STYLE1">
																	<div align="center">
																		修改
																	</div>
																</td>
															</tr>
														</table>
													</td>
													<td width="52">
														<table width="88%" border="0" cellpadding="0"
															cellspacing="0">
															<tr>
																<td class="STYLE1">
																	<div align="center">
																		<img src="<%=basePath %>admin/tab/images/11.gif" width="14" height="14" />
																	</div>
																</td>
																<td class="STYLE1">
																	<div align="center">
																		删除
																	</div>
																</td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
							<td width="16">
								<img src="<%=basePath %>admin/tab/images/tab_07.gif" width="16" height="30" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="8" background="<%=basePath %>admin/tab/images/tab_12.gif">
								&nbsp;
							</td>
							<td>
								<table width="100%" border="0" cellpadding="0" cellspacing="1"
									bgcolor="b5d6e6">
									<tr>
										<td width="3%" height="22" background="<%=basePath %>admin/tab/images/bg.gif"
											bgcolor="#FFFFFF">
											<div align="center">
												<input type="checkbox" name="checkbox" value="checkbox" />
											</div>
										</td>
										<td width="3%" height="22" background="<%=basePath %>admin/tab/images/bg.gif"
											bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">序号</span>
											</div>
										</td>
										<td width="12%" height="22" background="<%=basePath %>admin/tab/images/bg.gif"
											bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">学员姓名</span>
											</div>
										</td>
										<td width="14%" height="22" background="<%=basePath %>admin/tab/images/bg.gif"
											bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">反馈对象</span>
											</div>
										</td>
										<td width="18%" background="<%=basePath %>admin/tab/images/bg.gif" bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">反馈时间</span>
											</div>
										</td>
										<td width="23%" height="22" background="<%=basePath %>admin/tab/images/bg.gif"
											bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">内容</span>
											</div>
										</td>
										<td width="15%" height="22" background="<%=basePath %>admin/tab/images/bg.gif"
											bgcolor="#FFFFFF" class="STYLE1">
											<div align="center">
												基本操作
											</div>
										</td>
									</tr>
									<c:forEach items="${cl.page.list}" var="cl">
									<tr>
										<td height="20" bgcolor="#FFFFFF">
											<div align="center">
												<input type="checkbox" name="checkbox2" value="checkbox" />
											</div>
										</td>
										<td height="20" bgcolor="#FFFFFF">
											<div align="center" class="STYLE1">
												<div align="center">
													${cl.feedbackId }
													<input type="hidden" id="e_id" value="${cl.feedbackId }"/>
												</div>
											</div>
										</td>
										<td height="20" bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">${cl.misonStudent.studentName }</span>
												<input type="hidden" id="e_student_name" value="${cl.misonStudent.studentName }"/>
											</div>
										</td>
										<td height="20" bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">${cl.misonFeedbackPerson.name }</span>
												<input type="hidden" id="e_person_name" value="${cl.misonFeedbackPerson.name }"/>
											</div>
										</td>
										<td bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">${cl.time}</span>
												<input type="hidden" id="e_time" value="${cl.time}"/>
											</div>
										</td>
										<td height="20" bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">${cl.content}</span>
												<input type="hidden" id="e_content" value="${cl.content}"/>
											</div>
										</td>
										<td height="20" bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE4"> <img class="edit" src="<%=basePath %>admin/tab/images/edt.gif"
														width="16" height="16" /><a href="#TB_inline?height=250&amp;width=800&amp;inlineId=myOnPageContent" class="thickbox" >编辑</a>&nbsp; &nbsp;<img class="delete" delete_id="${cl.feedbackId}"
														src="<%=basePath %>admin/tab/images/del.gif" width="16" height="16" />删除</span>
											</div>
										</td>
									</tr>
									</c:forEach>
								
								</table>
							</td>
							<td width="8" background="<%=basePath %>admin/tab/images/tab_15.gif">
								&nbsp;
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td height="35" background="<%=basePath %>admin/tab/images/tab_19.gif">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="12" height="35">
								<img src="<%=basePath %>admin/tab/images/tab_18.gif" width="12" height="35" />
							</td>
							<td>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td class="STYLE4">
											&nbsp;&nbsp;共有 ${cl.page.totalCount} 条记录，当前第 ${cl.page.currPage}/${cl.page.maxPage} 页
										</td>
										<td>
											<table border="0" align="right" cellpadding="0"
												cellspacing="0">
												<tr>
													<td width="40">
														<img id="first" page="1" src="<%=basePath %>admin/tab/images/first.gif" width="37" height="15" />
													</td>
													<td width="45">
														<img id="pre" page="${cl.page.prePage}"src="<%=basePath %>admin/tab/images/back.gif" width="43" height="15" />
													</td>
													<td width="45">
														<img id="next" page="${cl.page.nextPage}"src="<%=basePath %>admin/tab/images/next.gif" width="43" height="15" />
														
													</td>
													<td width="40">
														<img id="last" page="${cl.page.maxPage}" src="<%=basePath %>admin/tab/images/last.gif" width="37" height="15" />
													</td>
													<td width="100">
														<div align="center">
															<span class="STYLE1">转到第 <input id="jump" value="" name="textfield"
																	type="text" size="4"
																	style="height:12px; width:20px; border:1px solid #999999;" />
																页 </span>
														</div>
													</td>
													<td width="40">
														<img id="button" src="<%=basePath %>admin/tab/images/go.gif" width="37" height="15" />
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
							<td width="16">
								<img src="<%=basePath %>admin/tab/images/tab_20.gif" width="16" height="35" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		
		<div id="myOnPageContent"  style="display:none;">
		<form action="" method="get" id="editForm">
		<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6">
			<tr>
				<td width="5%" height="22" background="<%=basePath %>admin/tab/images/bg.gif" bgcolor="#FFFFFF">
					<div align="center">
						<span>序号</span>
					</div>
				</td>
				<td width="12%" height="22" background="<%=basePath %>admin/tab/images/bg.gif" bgcolor="#FFFFFF">
					<div align="center">
							<span >学员姓名</span>
					</div>
				</td>
				<td width="12%" height="22" background="<%=basePath %>admin/tab/images/bg.gif" bgcolor="#FFFFFF">
					<div align="center">
						<span>反馈对象</span>
					</div>
				</td>												
				<td width="18%" background="<%=basePath %>admin/tab/images/bg.gif" bgcolor="#FFFFFF">
					<div align="center">
						<span>反馈时间</span>
					</div>
				</td>
				<td width="30%" height="22" background="<%=basePath %>admin/tab/images/bg.gif"
											bgcolor="#FFFFFF">
					<div align="center">
						<span>内容</span>
					</div>
				</td>	
				<td width="10%" height="22" background="<%=basePath %>admin/tab/images/bg.gif"
											bgcolor="#FFFFFF" class="STYLE1">
						<div align="center">
						基本操作
						</div>
				</td>			
			</tr>
			<tr height="55">
				<td width="5%" bgcolor="#FFFFFF" height="55">
					<div align="center">
						<div align="center">
						<input name="fb_id" id="fb_id" value="" readOnly=true />
						</div>
					</div>
				</td>
				<td width="12%" bgcolor="#FFFFFF" height="55">
					<div align="center">
						<span ><input name="student_name"  id="student_name" value="" readOnly=true /></span>
					</div>
				</td>
				<td width="12%" bgcolor="#FFFFFF" height="55">
					<div align="center">
						<span ><input name="person_name"  id="person_name" value="" readOnly=true /></span>
					</div>
				</td>
				<td width="18%" bgcolor="#FFFFFF" height="55">
					<div align="center">
						<span><input name="time"  id="time" value="" readOnly=true /></span>
					</div>
				</td>
				<td width="30%" bgcolor="#FFFFFF" height="55">
					<div align="center">
						<span>
							<input name="content"  id="content" value="" />
						</span>
					</div>
				</td>
				<td width="10%" height="20" bgcolor="#FFFFFF">
					<div align="center">
						<input type="submit" value="submit" id="submit" />
					</div>
				</td>				
			</tr>
		</table>
		<br />
		<br />
		<br />
		<div>
			<fieldset width="500px" align="center">
  			<legend>修改提示：</legend>
  			<ol>
  				<li>您只可以修改反馈内容中的信息。</li>
  				<li>修改成功反馈时间会自动设置为当前日期。</li>
  			</ol>
  			</fieldset>
		</div>
		
		</form>
	</div>
		
	</body>
</html>